﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace UnitTest
{
    class Cloud
    {
        private DayLight daylight = new DayLight();
        private Luminary luminary = new Luminary();
        private Wind wind = new Wind();
        private Creature InternalCreate()
        {
            if (daylight.Current == DayLightType.Night)
            {
                if (luminary.IsShiny)
                {
                    return new Creature(CreatureType.Bat);
                }
            }
            // TODO – implement all other creatures

            throw new NotImplementedException();
        }

        public Creature Create()
        {
            Creature creature = InternalCreate();
            Magic magic = new Magic();
            //magic.CallDaemon(creature.CreatureType);

            return creature;
        }

    }
}
